namespace StaffingSystem.EF
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("personnelinfor")]
    public partial class personnelinfor
    {
        public int Id { get; set; }

        [Required]
        [StringLength(20)]
        public string Name { get; set; }

        public bool Sex { get; set; }

        public int Age { get; set; }

        [Required]
        [StringLength(10)]
        public string Nation { get; set; }

        [Required]
        [StringLength(20)]
        public string Education { get; set; }

        [Required]
        [StringLength(18)]
        public string IDNumber { get; set; }

        [Required]
        [StringLength(11)]
        public string Phone { get; set; }

        [Required]
        [StringLength(50)]
        public string Address { get; set; }

        public DateTime AddTime { get; set; }
    }
}
